﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DsTongHopKetQuaKinhDoanh" targetNamespace="http://tempuri.org/DsTongHopKetQuaKinhDoanh.xsd" xmlns:mstns="http://tempuri.org/DsTongHopKetQuaKinhDoanh.xsd" xmlns="http://tempuri.org/DsTongHopKetQuaKinhDoanh.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="AccountingGuidConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="AccountingGuidConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ReportTemplates.Properties.Settings.GlobalReference.Default.AccountingGuidConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ThongTinDoanhNghiepTableAdapter" GeneratorDataComponentClassName="ThongTinDoanhNghiepTableAdapter" Name="ThongTinDoanhNghiep" UserDataComponentName="ThongTinDoanhNghiepTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AccountingGuidConnectionString (Settings)" DbObjectName="AccountingGuid.dbo.Select_ThongTinDoanhNghiep2" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.Select_ThongTinDoanhNghiep2</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TenDoanhNghiep" DataSetColumn="TenDoanhNghiep" />
              <Mapping SourceColumn="DiaChi" DataSetColumn="DiaChi" />
              <Mapping SourceColumn="DienThoai" DataSetColumn="DienThoai" />
              <Mapping SourceColumn="MaSoThue" DataSetColumn="MaSoThue" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DsTongHopKetQuaKinhDoanh" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="DsTongHopKetQuaKinhDoanh" msprop:Generator_UserDSName="DsTongHopKetQuaKinhDoanh" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ThongTinDoanhNghiep" msprop:Generator_UserTableName="ThongTinDoanhNghiep" msprop:Generator_RowDeletedName="ThongTinDoanhNghiepRowDeleted" msprop:Generator_TableClassName="ThongTinDoanhNghiepDataTable" msprop:Generator_RowChangedName="ThongTinDoanhNghiepRowChanged" msprop:Generator_RowClassName="ThongTinDoanhNghiepRow" msprop:Generator_RowChangingName="ThongTinDoanhNghiepRowChanging" msprop:Generator_RowEvArgName="ThongTinDoanhNghiepRowChangeEvent" msprop:Generator_RowEvHandlerName="ThongTinDoanhNghiepRowChangeEventHandler" msprop:Generator_TablePropName="ThongTinDoanhNghiep" msprop:Generator_TableVarName="tableThongTinDoanhNghiep" msprop:Generator_RowDeletingName="ThongTinDoanhNghiepRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenDoanhNghiep" msprop:Generator_UserColumnName="TenDoanhNghiep" msprop:Generator_ColumnPropNameInRow="TenDoanhNghiep" msprop:Generator_ColumnVarNameInTable="columnTenDoanhNghiep" msprop:Generator_ColumnPropNameInTable="TenDoanhNghiepColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DiaChi" msprop:Generator_UserColumnName="DiaChi" msprop:Generator_ColumnPropNameInRow="DiaChi" msprop:Generator_ColumnVarNameInTable="columnDiaChi" msprop:Generator_ColumnPropNameInTable="DiaChiColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DienThoai" msprop:Generator_UserColumnName="DienThoai" msprop:Generator_ColumnPropNameInRow="DienThoai" msprop:Generator_ColumnVarNameInTable="columnDienThoai" msprop:Generator_ColumnPropNameInTable="DienThoaiColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MaSoThue" msprop:Generator_UserColumnName="MaSoThue" msprop:Generator_ColumnPropNameInRow="MaSoThue" msprop:Generator_ColumnVarNameInTable="columnMaSoThue" msprop:Generator_ColumnPropNameInTable="MaSoThueColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Master_TongHopKetQuaKinhDoanh" msprop:Generator_UserTableName="Master_TongHopKetQuaKinhDoanh" msprop:Generator_RowDeletedName="Master_TongHopKetQuaKinhDoanhRowDeleted" msprop:Generator_TableClassName="Master_TongHopKetQuaKinhDoanhDataTable" msprop:Generator_RowChangedName="Master_TongHopKetQuaKinhDoanhRowChanged" msprop:Generator_RowClassName="Master_TongHopKetQuaKinhDoanhRow" msprop:Generator_RowChangingName="Master_TongHopKetQuaKinhDoanhRowChanging" msprop:Generator_RowEvArgName="Master_TongHopKetQuaKinhDoanhRowChangeEvent" msprop:Generator_RowEvHandlerName="Master_TongHopKetQuaKinhDoanhRowChangeEventHandler" msprop:Generator_TablePropName="Master_TongHopKetQuaKinhDoanh" msprop:Generator_TableVarName="tableMaster_TongHopKetQuaKinhDoanh" msprop:Generator_RowDeletingName="Master_TongHopKetQuaKinhDoanhRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenBaoCao" msprop:Generator_UserColumnName="TenBaoCao" msprop:Generator_ColumnPropNameInRow="TenBaoCao" msprop:Generator_ColumnVarNameInTable="columnTenBaoCao" msprop:Generator_ColumnPropNameInTable="TenBaoCaoColumn" type="xs:string" default="" minOccurs="0" />
              <xs:element name="KyBaoCao" msprop:Generator_UserColumnName="KyBaoCao" msprop:Generator_ColumnPropNameInRow="KyBaoCao" msprop:Generator_ColumnVarNameInTable="columnKyBaoCao" msprop:Generator_ColumnPropNameInTable="KyBaoCaoColumn" type="xs:string" default="" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Detail_TongHopKetQuaKinhDoanh" msprop:Generator_UserTableName="Detail_TongHopKetQuaKinhDoanh" msprop:Generator_RowDeletedName="Detail_TongHopKetQuaKinhDoanhRowDeleted" msprop:Generator_TableClassName="Detail_TongHopKetQuaKinhDoanhDataTable" msprop:Generator_RowChangedName="Detail_TongHopKetQuaKinhDoanhRowChanged" msprop:Generator_RowClassName="Detail_TongHopKetQuaKinhDoanhRow" msprop:Generator_RowChangingName="Detail_TongHopKetQuaKinhDoanhRowChanging" msprop:Generator_RowEvArgName="Detail_TongHopKetQuaKinhDoanhRowChangeEvent" msprop:Generator_RowEvHandlerName="Detail_TongHopKetQuaKinhDoanhRowChangeEventHandler" msprop:Generator_TablePropName="Detail_TongHopKetQuaKinhDoanh" msprop:Generator_TableVarName="tableDetail_TongHopKetQuaKinhDoanh" msprop:Generator_RowDeletingName="Detail_TongHopKetQuaKinhDoanhRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenHang" msprop:Generator_UserColumnName="TenHang" msprop:Generator_ColumnPropNameInRow="TenHang" msprop:Generator_ColumnVarNameInTable="columnTenHang" msprop:Generator_ColumnPropNameInTable="TenHangColumn" type="xs:string" minOccurs="0" />
              <xs:element name="TenNhomHang" msprop:Generator_UserColumnName="TenNhomHang" msprop:Generator_ColumnPropNameInRow="TenNhomHang" msprop:Generator_ColumnVarNameInTable="columnTenNhomHang" msprop:Generator_ColumnPropNameInTable="TenNhomHangColumn" type="xs:string" minOccurs="0" />
              <xs:element name="ThuTu" msprop:Generator_UserColumnName="ThuTu" msprop:Generator_ColumnPropNameInRow="ThuTu" msprop:Generator_ColumnVarNameInTable="columnThuTu" msprop:Generator_ColumnPropNameInTable="ThuTuColumn" type="xs:string" minOccurs="0" />
              <xs:element name="DoanhThu" msdata:Caption="SoLuongTonDauKy" msprop:Generator_UserColumnName="DoanhThu" msprop:Generator_ColumnPropNameInRow="DoanhThu" msprop:Generator_ColumnVarNameInTable="columnDoanhThu" msprop:Generator_ColumnPropNameInTable="DoanhThuColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="CacKhoanGiamDoanhThu" msdata:Caption="GiaTriTonDauKy" msprop:Generator_UserColumnName="CacKhoanGiamDoanhThu" msprop:Generator_ColumnPropNameInRow="CacKhoanGiamDoanhThu" msprop:Generator_ColumnVarNameInTable="columnCacKhoanGiamDoanhThu" msprop:Generator_ColumnPropNameInTable="CacKhoanGiamDoanhThuColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="DoanhThuThuan" msdata:Caption="SoLuongNhapTuSanXuat" msprop:Generator_UserColumnName="DoanhThuThuan" msprop:Generator_ColumnPropNameInRow="DoanhThuThuan" msprop:Generator_ColumnVarNameInTable="columnDoanhThuThuan" msprop:Generator_ColumnPropNameInTable="DoanhThuThuanColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="GiaVon" msdata:Caption="GiaTriNhapTuSanXuat" msprop:Generator_UserColumnName="GiaVon" msprop:Generator_ColumnPropNameInRow="GiaVon" msprop:Generator_ColumnVarNameInTable="columnGiaVon" msprop:Generator_ColumnPropNameInTable="GiaVonColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="GiamGiaVon" msdata:Caption="SoLuongMua" msprop:Generator_UserColumnName="GiamGiaVon" msprop:Generator_ColumnPropNameInRow="GiamGiaVon" msprop:Generator_ColumnVarNameInTable="columnGiamGiaVon" msprop:Generator_ColumnPropNameInTable="GiamGiaVonColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ChiPhiBan" msdata:Caption="GiaTriMua" msprop:Generator_UserColumnName="ChiPhiBan" msprop:Generator_ColumnPropNameInRow="ChiPhiBan" msprop:Generator_ColumnVarNameInTable="columnChiPhiBan" msprop:Generator_ColumnPropNameInTable="ChiPhiBanColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ChiPhiTaiChinh" msdata:Caption="SoLuongBan" msprop:Generator_UserColumnName="ChiPhiTaiChinh" msprop:Generator_ColumnPropNameInRow="ChiPhiTaiChinh" msprop:Generator_ColumnVarNameInTable="columnChiPhiTaiChinh" msprop:Generator_ColumnPropNameInTable="ChiPhiTaiChinhColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ChiPhiKhac" msdata:Caption="GiaTriBan" msprop:Generator_UserColumnName="ChiPhiKhac" msprop:Generator_ColumnPropNameInRow="ChiPhiKhac" msprop:Generator_ColumnVarNameInTable="columnChiPhiKhac" msprop:Generator_ColumnPropNameInTable="ChiPhiKhacColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ChiPhiQuanLy" msdata:Caption="SoLuongXuatSanXuat" msprop:Generator_UserColumnName="ChiPhiQuanLy" msprop:Generator_ColumnPropNameInRow="ChiPhiQuanLy" msprop:Generator_ColumnVarNameInTable="columnChiPhiQuanLy" msprop:Generator_ColumnPropNameInTable="ChiPhiQuanLyColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ChenhLech" msdata:Caption="GiaTriXuatSanXuat" msprop:Generator_UserColumnName="ChenhLech" msprop:Generator_ColumnPropNameInRow="ChenhLech" msprop:Generator_ColumnVarNameInTable="columnChenhLech" msprop:Generator_ColumnPropNameInTable="ChenhLechColumn" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="NhomHang" msprop:Generator_UserTableName="NhomHang" msprop:Generator_RowDeletedName="NhomHangRowDeleted" msprop:Generator_TableClassName="NhomHangDataTable" msprop:Generator_RowChangedName="NhomHangRowChanged" msprop:Generator_RowClassName="NhomHangRow" msprop:Generator_RowChangingName="NhomHangRowChanging" msprop:Generator_RowEvArgName="NhomHangRowChangeEvent" msprop:Generator_RowEvHandlerName="NhomHangRowChangeEventHandler" msprop:Generator_TablePropName="NhomHang" msprop:Generator_TableVarName="tableNhomHang" msprop:Generator_RowDeletingName="NhomHangRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TenNhomHang" msprop:Generator_UserColumnName="TenNhomHang" msprop:Generator_ColumnPropNameInRow="TenNhomHang" msprop:Generator_ColumnVarNameInTable="columnTenNhomHang" msprop:Generator_ColumnPropNameInTable="TenNhomHangColumn" type="xs:string" minOccurs="0" />
              <xs:element name="TenNhomHangCha" msprop:Generator_UserColumnName="TenNhomHangCha" msprop:Generator_ColumnPropNameInRow="TenNhomHangCha" msprop:Generator_ColumnVarNameInTable="columnTenNhomHangCha" msprop:Generator_ColumnPropNameInTable="TenNhomHangChaColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="NhomHang_Detail_TinhHinhNhapXuatThanhPhamHangHoa" msdata:parent="NhomHang" msdata:child="Detail_TongHopKetQuaKinhDoanh" msdata:parentkey="TenNhomHang" msdata:childkey="TenNhomHang" msprop:Generator_UserRelationName="NhomHang_Detail_TinhHinhNhapXuatThanhPhamHangHoa" msprop:Generator_RelationVarName="relationNhomHang_Detail_TinhHinhNhapXuatThanhPhamHangHoa" msprop:Generator_UserChildTable="Detail_TongHopKetQuaKinhDoanh" msprop:Generator_UserParentTable="NhomHang" msprop:Generator_ParentPropName="NhomHangRow" msprop:Generator_ChildPropName="GetDetail_TongHopKetQuaKinhDoanhRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>